<?php
$this->headTitle($this->T('Lucene'));
$this->placeholder('content_title')->set($this->T('Lucene'));
$this->placeholder('body_onload')->set('');

// The login messages
$flashMessenger = Zend_Controller_Action_HelperBroker::getStaticHelper('FlashMessenger')->setNamespace('lucene');
$Message = implode('<br />', $flashMessenger->getMessages());
$this->placeholder('flash_message')->set($this->E($Message));

?>

<div>

    <?php if (isset($this->docsTotal)) { ?>

        <h2><strong><?php echo $this->docsTotal; ?></strong> docs within index.</h2><br />

        <h2><strong><?php echo $this->unDeletedDocsTotal; ?></strong> undeleted docs.</h2><br />

        <p>
        <?php
        echo $this->deletedInfo;
        ?>
        </p>

    <?php } ?>

</div>

<br />

<div>
    <ul class="links">
        <li><a href="<?php echo $this->U('search-lucene', 'create'); ?>">Create index</a></li>
        <li><a href="<?php echo $this->U('search-lucene', 'update'); ?>">Update index</a></li>
        <li><a href="<?php echo $this->U('search-lucene', 'delete'); ?>">Delete index</a></li>
        <li><a href="<?php echo $this->U('search-lucene', 'optimize'); ?>">Optimize index</a></li>
    </ul>
</div>